<template>
  <div>123</div>
</template>

<script>
export default {
  name: "index",
  data() {
    return {
      loading: false,
      switchValue: "F",
    };
  },
  methods: {
    openUrl(officeType,fileId) {
      const jump = this.$router.resolve({ path: `/viewFile/${officeType}/${fileId}`});
      window.open(jump.href, '_blank');
    },
  },
  // 初始化
  created() {
    const str = `${this.$route.query.info}`;
    const obj = JSON.parse(str);
    console.log(obj);
  },
};
</script>

<style scoped> </style>